home *** CD-ROM | disk | FTP | other *** search
/ Aminet 8 / Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso / Aminet / dev / gcc / gcc270_src.lha / gcc-2.7.0-amiga / config / i386 / x-ncr3000 < prev    next >
Text File  |  1993-07-29  |  1KB  |  35 lines

  1. # Makefile additions for the NCR3000 as host system.
  2.  
  3. # Using -O with the AT&T compiler fails, with a message about a missing
  4. # /usr/ccs/lib/optim pass.  So override the default in Makefile.in
  5.  
  6. CCLIBFLAGS=
  7.  
  8. ## Supposedly not needed now that xm-sysv4.h includes alloc.h for Metaware.
  9. ### NCR3000 ships with a MetaWare compiler installed as CC, which chokes and
  10. ### dies all over the place on GCC source.  However, the AT&T compiler,
  11. ### crusty as it is, can be used to bootstrap GCC.  It can be found in
  12. ### /usr/ccs/ATT/cc.  It is also used to compile the things that should
  13. ### not be compiled with GCC.
  14. ##
  15. ##CC = /usr/ccs/ATT/cc
  16. ##OLDCC = /usr/ccs/ATT/cc
  17.  
  18. # The rest is just x-i386v4.
  19.  
  20. # Some versions of SVR4 have an alloca in /usr/ucblib/libucb.a, and if we are
  21. # careful to link that in after libc we can use it, but since newer versions of
  22. # SVR4 are dropping libucb, it is better to just use the portable C version for
  23. # bootstrapping.  Do this by defining ALLOCA.
  24.  
  25. ALLOCA = alloca.o
  26.  
  27. # We used to build all stages *without* shared libraries because that may make
  28. # debugging the compiler easier (until there is a GDB which supports
  29. # both Dwarf *and* svr4 shared libraries).
  30.  
  31. # But james@bigtex.cactus.org says that redefining GCC_CFLAGS causes trouble,
  32. # and that it is easy enough to debug using shared libraries.
  33. # CCLIBFLAGS=-Bstatic -dn -g
  34. # GCC_CFLAGS=-static -g -O2 -B./
  35.